Skip to content

Fixes to sql CREATE TABLE parsing and DB export#21

Merged
pawlaszczyk merged 1 commit into
pawlaszczyk:masterfrom
enisrat:master
May 22, 2026
Merged

Fixes to sql CREATE TABLE parsing and DB export#21
pawlaszczyk merged 1 commit into
pawlaszczyk:masterfrom
enisrat:master

Conversation

@enisrat
Copy link
Copy Markdown
Contributor

@enisrat enisrat commented Apr 28, 2026

  • Some simple fix to duplicate column names in e.g. :
"some_column" TEXT DEFAULT NULL CHECK("some_column" LIKE 'FOO:') UNIQUE

This fixes it for now, but the parser should be made aware when inside CHECK()

- CHECK(...) in Column definition would lead to duplicate column name
- If type empty, DEFAULT kw used erroneously as type
In export to DB, exclude Virtual Table (e.g. fts3-5) for now
@pawlaszczyk pawlaszczyk merged commit 20941f2 into pawlaszczyk:master May 22, 2026
@pawlaszczyk
Copy link
Copy Markdown
Owner

Thank you for sharing!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants